package com.rran.study.designpattern.factory.builder;

import lombok.Data;

/**
 * @author yy
 * @Type Person.java
 * @Desc
 * @date 2020/7/23 14:56
 */
@Data
public class Person {

    private String head;
    private String body;
    private String leftHand;
    private String rightHand;
    private String leftLeg;
    private String rightLeg;

    public static void main(String[] args) {
        PersonBuilder personBuilder = new PersonBuilder();
        Person person = new PersonDirector(personBuilder).createPerson();
        System.out.println(person);
    }


}
